package com.ruoyi.basedocument.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * BOM类别关联对象 t_bom_asscategory
 * 
 * @author ruoyi
 * @date 2024-09-23
 */
public class BomAsscategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 类别id */
    private String categoryid;

    /** 类别编码 */
    @Excel(name = "类别编码")
    private String categorynumber;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryname;

    /** 物料BOMid */
    private String materialbomid;

    /** 物料BOM编码 */
    @Excel(name = "物料BOM编码")
    private String materialbomnumber;

    /** 物料BOM名称 */
    @Excel(name = "物料BOM名称")
    private String materialbomname;

    /** 车间 */
    private String cfplantid;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCategoryid(String categoryid) 
    {
        this.categoryid = categoryid;
    }

    public String getCategoryid() 
    {
        return categoryid;
    }
    public void setCategoryname(String categoryname) 
    {
        this.categoryname = categoryname;
    }

    public String getCategoryname() 
    {
        return categoryname;
    }
    public void setCategorynumber(String categorynumber) 
    {
        this.categorynumber = categorynumber;
    }

    public String getCategorynumber() 
    {
        return categorynumber;
    }
    public void setMaterialbomid(String materialbomid) 
    {
        this.materialbomid = materialbomid;
    }

    public String getMaterialbomid() 
    {
        return materialbomid;
    }
    public void setMaterialbomname(String materialbomname) 
    {
        this.materialbomname = materialbomname;
    }

    public String getMaterialbomname() 
    {
        return materialbomname;
    }
    public void setMaterialbomnumber(String materialbomnumber) 
    {
        this.materialbomnumber = materialbomnumber;
    }

    public String getCfplantid() {
        return cfplantid;
    }

    public void setCfplantid(String cfplantid) {
        this.cfplantid = cfplantid;
    }

    public String getMaterialbomnumber()
    {
        return materialbomnumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryid", getCategoryid())
            .append("categoryname", getCategoryname())
            .append("categorynumber", getCategorynumber())
            .append("materialbomid", getMaterialbomid())
            .append("materialbomname", getMaterialbomname())
            .append("materialbomnumber", getMaterialbomnumber())
            .toString();
    }
}
